// Copyright 2006 Mloofle Inc. All Rights Reserved.
// Developed via Cleanroom

/**
 * Represents a single possible match in a result set.
 */
public class PossibleMatch {

  public PossibleMatch(CorpusFile file, int line) {
    this.file = file;
    this.line = line;
  }

  public CorpusFile getFile() {
    return file;
  }

  public int getLine() {
    return line;
  }

  public String toString() {
    return "<" + file.getFilePath() + ", " + line + ">";
  }
  
  private final CorpusFile file;
  private final int line;

}
